using System;
using System.Collections.Generic;
namespace System.Windows.Controls
{
	internal static class VisualTreeExtensions
	{
		internal static IEnumerable<DependencyObject> GetVisualChildren(this DependencyObject parent)
		{
			VisualTreeExtensions.<GetVisualChildren>d__0 <GetVisualChildren>d__ = new VisualTreeExtensions.<GetVisualChildren>d__0(-2);
			<GetVisualChildren>d__.<>3__parent = parent;
			return <GetVisualChildren>d__;
		}
		internal static IEnumerable<FrameworkElement> GetLogicalChildrenBreadthFirst(this FrameworkElement parent)
		{
			VisualTreeExtensions.<GetLogicalChildrenBreadthFirst>d__5 <GetLogicalChildrenBreadthFirst>d__ = new VisualTreeExtensions.<GetLogicalChildrenBreadthFirst>d__5(-2);
			<GetLogicalChildrenBreadthFirst>d__.<>3__parent = parent;
			return <GetLogicalChildrenBreadthFirst>d__;
		}
	}
}
